package cn.edu.nwafu.hjpg.dao;

import cn.edu.nwafu.hjpg.entity.Evaluate;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.LinkedList;

public interface EvaluateDao extends MongoRepository<Evaluate, String> {

    LinkedList<Evaluate> findAll();

    Evaluate findAllByCasNo(String casNo);

    void deleteEvaluateByCasNo(String casNo);

}